﻿using Rhino.Display;
using Rhino.Geometry;
using System.Drawing;

namespace AiMoRhino.Preview
{
    abstract class PreviewObject
    {
        public bool Enable { get; private set; } = true;

        public Color DrawColor { get; set; }

        public BoundingBox ClippingBox { get; protected set; }

        public PreviewObject(Color drawColor)
        {
            DrawColor = drawColor;
        }

        public abstract void Draw(DisplayPipeline display);
    }
}
